package com.ruoyi.system.service;

import com.ruoyi.system.domain.SysPost;
import com.ruoyi.system.domain.TestCourse;
import org.springframework.stereotype.Service;

import java.util.List;


public interface TestCourseService {

    public List<TestCourse> selectCourseList(TestCourse course);

    /*查询课程列表*/
    public List<TestCourse> selectcourseAll();

    /*通过课程id查询课程信息*/
    public TestCourse selectCourseById(Long courseId);


/**
     * 校验名称
     *
     */
    public boolean checkCourseNameUnique(TestCourse course);
    public boolean checkCourseCodeUnique(TestCourse course);



    /*删除信息*/
    public int deleteCourseById(Long courseId);

    /*批量删除信息*/
    public int deleteCourseByIds(Long[] courseIds);

    /*新增信息*/
    public int insertCourse(TestCourse course);

    /*修改保持信息*/
    public int updateCourse(TestCourse course);
}
